package com.example.demo.client;

import feign.RequestInterceptor;
import org.springframework.context.annotation.Bean;

import java.io.IOException;

/**
 * @ClassName
 * @Description TODO
 * @Author jhipster
 * @Date：2020/1/10
 */
public class OAuth2UserClientFeignConfiguration {

    @Bean(name = "userFeignClientInterceptor")
    public RequestInterceptor getUserFeignClientInterceptor() throws IOException {
        return new UserFeignClientInterceptor();
    }
}
